import { createStore } from 'vuex'
import getters from './getters'
import user from './modules/user' // 用于处理用户信息模块
import app from './modules/app' // 用于处理容器模块
import TagsView from './modules/TagsView' // 用于处理tag模块
import micro from './modules/micro' // 用于处理micro-app模块

const store = createStore({
	modules: {
		user,
		app,
		TagsView,
		micro,
	},
	getters
})

export default store
